import { SELECT_DATE } from '../constants/redux'
import { DateType } from '../reducers/select-date'

export const selectDate = (selectDate: DateType) => {
    return {
        type: SELECT_DATE,
        selectDate
    }
}